// Copyright (C) 2010 Johan Rende.

//    This program is free software: you can redistribute it and/or modify
//    it under the terms of the GNU General Public License as published by
//    the Free Software Foundation, either version 3 of the License, or
//    (at your option) any later version.
//
//    This program is distributed in the hope that it will be useful,
//    but WITHOUT ANY WARRANTY; without even the implied warranty of
//    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//    GNU General Public License for more details.
//
//    You should have received a copy of the GNU General Public License
//    along with this program.  If not, see <http://www.gnu.org/licenses/>.

//	Official SVN repository and contact information can be found at
//	https://code.google.com/p/lt-engine/

package jwjgl;

import java.awt.Rectangle;

public class LevelObject {
	//	public int locationX;
	//	public int locationY;
	public int numOfPlat;
	public Platform plat[];

	public LevelObject(Platform[] tplat) {
		plat = new Platform[tplat.length];
		for (int i = 0; i < tplat.length; i++) {
			plat[i]=tplat[i];
		}
		numOfPlat=tplat.length;
	}
	public void draw(){
		for(int i=0;i<numOfPlat;i++){
			plat[i].Draw();
		}
	}
}

//plat[0] = new Platform(150,128,13);
//plat[1] = new Platform(150,200,4);
//plat[2] = new Platform(150,400,4);
//plat[3] = new Platform(Main.scrWidth/2,Main.scrHeight-64,4);
